package com.sttx.bookmanager.conf;

import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;

import com.alibaba.druid.support.http.StatViewServlet;

@SuppressWarnings("serial")
@WebServlet(urlPatterns = "/druid/*", initParams = {
        /** 白名单，如果不配置或value为空，则允许所有 */
        @WebInitParam(name = "allow", value = ""),
        /** 黑名单，与白名单存在相同IP时，优先于白名单 */
        @WebInitParam(name = "deny", value = ""),
        /** 用户名 */
        // @WebInitParam(name = "loginUsername", value = "chenchaoyun"),
        /** 密码 */
        // @WebInitParam(name = "loginPassword", value = "111111"),
        /** 禁用HTML页面上的“Reset All”功能 */
        @WebInitParam(name = "resetEnable", value = "false") })
public class DruidStatViewServlet extends StatViewServlet {
}
